package com.hqyj.paimaisys.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2024-10-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Auction implements Serializable {
    //1：未审核    2：审核通过   3：审核拒绝    4：竞拍中    5：竞拍结束
    public static final Integer STATUS_NO_SHENHE = 1;

    public static final Integer STATUS_PASS = 2;

    public static final Integer STATUS_REJECT = 3;

    public static final Integer STATUS_AUCTING = 4;

    public static final Integer STATUS_FINISH = 5;

    public static final Integer ROLE_HUIYUAN = 0;

    public static final Integer ROLE_ADMIN = 1;

    private static final long serialVersionUID=1L;


    @TableId(value = "aid", type = IdType.AUTO)
    private Integer aid;

    private String gname;//拍品名称

    private Integer tid; //类型

    private String gpic;  //图片路径 -----

    private Integer gzan = 0;  //热度

    private Integer anum = 0;      //拍卖次数

    private Integer bprice;   //起步价

    private Integer increase;  //增长价

    private Integer abmoney;   //保证金
    //yyyy-mm-dd 8:00
    private String stime;    //开拍时间

    //yyyy-mm-dd 18:00
    private String etime;    //结束时间

    private Integer state;    //状态 --------

    private String createrid;   //发布者 -----

    private Integer cflag;     //发布者的角色-----

    @TableField(fill = FieldFill.INSERT)
    private String createtime;  //系统时间

    private String hid;    //竞拍者的会员编号

    private Integer nprice;  //竞拍价

    private String abackup;




}
